var cartUtil = require("utils/cartUtil.js")
App({
  onLaunch: function() {
    this.initStroge()
    cartUtil.initCart();
  },
  
  data: {
    shopId:1,
    // 预约日志
    user:null,
    cart: [], //购物车
    // host: 'http://203.195.160.128/juxingapp/',
    host:'https://juxingmeiye.com/juxingapp/', 
    // host: 'http://192.168.0.195/juxingapp/',
  },
  // 初始化缓存
  initStroge: function() {
    this.data.user = wx.getStorageSync('user')||null
    console.log("user:",this.data.user)
  }
})